<?php

declare(strict_types=1);

namespace DreamCat\ControllerParamGen\HelperClass\Vo;

/**
 * 测试用的输出vo
 * @author vijay
 */
class OutputVo
{
    /**
     * OutputVo constructor.
     * @param mixed|null $key 赋值给key
     */
    public function __construct(private mixed $key = null)
    {
    }

    /**
     * @return mixed
     */
    public function getKey(): mixed
    {
        return $this->key;
    }

    /**
     * @param mixed $key
     * @return OutputVo
     */
    public function setKey(mixed $key): OutputVo
    {
        $this->key = $key;
        return $this;
    }
}

# end of file
